﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="S.aspx.cs" Inherits="com.tiyma.web.S"  %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>体验码</title>
     <link href="/style/main.css" rel="stylesheet" type="text/css" />
     </head>
<body>

 
     
<SCRIPT type=text/javascript>
function changeSearchType(obj,event)
{
    var nav_ul=document.getElementById("nav_ul");
    for(var index=0;index<nav_ul.childNodes.length;index++)
    {
        nav_ul.childNodes[index].className="";
    }
    obj.parentNode.className="over";
	document.getElementById('main_search_type').innerHTML = obj.innerHTML;
	var k=document.getElementById("k");
	if(obj.innerText=="小说")
	{
	    k.value="书名/作者/分类";
	}
	else
	{
	    k.value="";
	}
}
function GoSearch()
{
    var k=document.getElementById("k");
    if(k.value=="" || k.value=="书名/作者/分类")
    {
        alert("请输入关键字!");
        return false;
    }
    window.location.href="/book/S.aspx?k="+escape(k.value);
  
}
function TabSearch(evt) { evt = evt || window.event; if (evt && evt.keyCode == 13) return GoSearch(evt); };
</SCRIPT>

</head>
<div id="mian_logo" onclick="javascript:window.location.href='http://www.tiyma.com';"></div>
<div id="topbar">
<ul>
<li><a href="#">注册</a> </li>
<li><a href="#">登陆</a> </li>
</ul>
</div>
<DIV id=main_nav>

<ul id="nav_ul">

  <li class=over><A id=as_product 
  onclick="changeSearchType(this,event);return false;" 
  href="javascript:;">小说</A></li>
  <li><A id=as_corp onclick="changeSearchType(this,event);return false;" 
  href="javascript:;">影视</A></li>
  <li><A onclick="changeSearchType(this,event);return false;" 
  href="javascript:;">工作</A></li>
  <li><A onclick="changeSearchType(this,event);return false;" 
  href="javascript:;">健康</A></li></ul></DIV>
<DIV id=main_search>
<ul>
  <li class="text"><FONT id="main_search_type">小说</FONT>搜索：</li>
  <li class="input_w"><input  id="k" value="书名/作者/分类/简介"  onkeypress="return TabSearch(event);"  onclick="this.value='';this.style.color='#000';" /></li>
  <li class="btn e"><input src="/images/search_btn.gif" type="image" onclick="return GoSearch();"></li></UL></DIV>
<div style="height:100px;">&nbsp;</div>


<div id="wrap">
            <div id="left">
           <%=m_data_list %>
                <ul style="display: none;" id="recommendbookdiv" class="border">
                </ul>
             
             <%=m_page_list %>
               
             
            </div>
            <%=m_cur_read_list %>
        </div>
        <script>
        var k="<%=m_key_word %>";
        var i=document.getElementById("k");
        i.value=k;
        i.style.color="#000";
        </script>
<DIV class=foot>
<div class="s1">此内容系体验码根据您的指令自动搜索的结果，不代表体验码赞成被搜索网站的内容或立场</div>
<DIV 
class=s2>Copyright 
&copy; 体验码&nbsp;<IMG border=0 align=absMiddle 
src="/images/gn.gif">浙ICP备10004041号-1
</DIV></DIV>
<div style="display:none;">
<script language="javascript" type="text/javascript" src="http://js.users.51.la/5235051.js"></script>
</div>


</body>
</html>
